package com.fishery.authority.entity;

import java.util.Date;
import java.util.List;

/**
 * @author 白sa能
 * @className
 * @date Created in 10:47 AM 1/19/21
 * @package com.fishery.authority.entity
 * @Description
 */
public class FunctionParent extends Function{
    List<FunctionParent> children = null;

    public FunctionParent(String id,
                          String name,
                          String parentId,
                          String remarks,
                          Integer type,
                          Date gmtCreate,
                          Date gmtModified,
                          Integer isDeleted,
                          Integer version,
                          List<FunctionParent> children) {
        super(id, name, parentId, remarks, type, gmtCreate, gmtModified, isDeleted, version);
        this.children = children;
    }

    public FunctionParent(){
    }

    public List<FunctionParent> getChildren(){
        return children;
    }

    public void setChildren(List<FunctionParent> children){
        this.children = children;
    }
}
